﻿using System.Collections.Generic;
using MongoDB.Bson;
using MongoDB.Driver;

namespace Yamfinder.Data
{
    public interface ILexicalRepository
    {
        IList<LexicalEntry> Query(IMongoQuery mongoQuery);
        LexicalEntry Get(ObjectId id);
        void Insert(LexicalEntry lexicalEntry);
        void Save(LexicalEntry lexicalEntry);
        void Remove(ObjectId id);
    }
}